package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public void add(Member member);

    List<Integer> findMemberAmountByMouths(List<String> months);


    List<Map<String,Object>> findMemberSexCount();


    List<Map<String,Object>> findAgeCount();


    Integer findMemberCountBySameYearAndMonth(String startTime, String endTime);
}
